﻿<!DOCTYPE html>
<html lang="en">

<head>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
   <title>Splashscreen</title>
</head>

<body>
   <style>
       body {
           overflow: hidden;
           -webkit-app-region: drag;
       }
   </style>

   <img draggable="false" alt="splashscreen" style="width: 100%; height: 100%;">

   <script>
      (() => {
         const imgSrcPath = window.location.search.substr(1).split('=').pop();
         const imageElement = document.getElementsByTagName('img')[0];
         imageElement.setAttribute('src', imgSrcPath);
      })();
   </script>
</body>

</html>